/**
 * Created by chenyong on 2015/4/20.
 */

var mongoose = require('mongoose');
var Schema = mongoose.Schema;

var UserSchema = new Schema({
    openid :String,
    nickname: String,
    headimgurl:String,
    country:String,
    province:String,
    city:String,
    sday:Number,
    sex:Number,
    nums: Number,
    unionid:String
});

module.exports = mongoose.model('User', UserSchema);